package com.example.api.dao;

import com.example.api.model.entity.Warehouse;

import java.util.List;

public interface WarehouseDao {

    int deleteByPrimaryKey(Integer id);

    int insert(Warehouse record);

    int insertSelective(Warehouse record);

    Warehouse selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Warehouse record);

    int updateByPrimaryKey(Warehouse record);

    List<Warehouse> findAll();

    Warehouse selectByName(String name);
    
}